app.controller('DingdanCtrl', ['$scope', '$stateParams', '$rootScope', function ($scope, $stateParams, $rootScope) {

	$scope.orderBtns = [
		{name: '全部订单', sref: 'dingdan.qbdd', is_open: 1}
		,{name: '待付款', sref: 'dingdan.dfk', is_open: 1}
		,{name: '待收货', sref: 'dingdan.dsh', is_open: 1}
		,{name: '待评价', sref: 'dingdan.dpj', is_open: 1}
		,{name: '退款/售后', sref: 'dingdan.tksh', is_open: 1}
	];
    // 获取当前应该显示的下标
    
}])

